package com.authService.mapper;


import com.authService.entity.SysRoleEntity;
import com.authService.pojo.req.RolePageReqDTO;
import com.authService.pojo.res.RolePageResDTO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 角色表 Mapper 接口
 * </p>
 *
 * @author xiaopeng
 * @since 2024-10-21
 */
public interface SysRoleMapper extends BaseMapper<SysRoleEntity> {

    /**
     * 查询角色列表
     * @param reqDTO
     * @return
     */
    List<RolePageResDTO> selectRoleList(@Param("params") RolePageReqDTO reqDTO);
}
